#!/bin/bash

# Update codes
branch_name="$(git rev-parse --abbrev-ref HEAD)"
git checkout -- .
git pull --rebase origin $branch_name
